#ifndef BUTTON_H
#define BUTTON_H
#include "Shape.h"
#include "Renderer.h"
#include "dinput.h"
class ENGINE_API Button : public Shape
{
// constructor / destructor
public:

	Button (D3DXVECTOR3 pos,int w,int h);
	bool CheckClick(DIMOUSESTATE *pointer);
	void OnClick();

// inherited from Shape
public:
	void Draw (Renderer * rkRenderer);

// topology
private:
	D3DXVECTOR3 m_vPos;
};
//----------------------------------------------------------------
#endif 